package com.sicent.app0013.operate.model;

import java.io.Serializable;
import java.util.Date;

public class AppVersion implements Serializable {

    private static final long serialVersionUID = -1L;

    /** app_version_id : **/
    private Integer appVersionId;
    /** version_name : **/
    private String versionName;
    /** version_code : **/
    private Integer versionCode;
    /** plan_update_time : **/
    private Date planUpdateTime;
    /** apk_relative_path : **/
    private String apkRelativePath;
    /** apk_size : **/
    private Long apkSize;
    /** content : **/
    private String content;
    /** status : 1:开启
            0:关闭**/
    private Byte status;
    /** version : **/
    private Integer version;
    /** create_time : **/
    private Integer createTime;
    /** create_user_id : **/
    private Integer createUserId;
    /** last_update_time : **/
    private Integer lastUpdateTime;
    /** last_update_user_id : **/
    private Integer lastUpdateUserId;
    /** force_update : **/
    private Integer forceUpdate;

    public AppVersion() {
        
    }

    public AppVersion(Integer appVersionId) {
        this.appVersionId = appVersionId;
    }

    public Integer getAppVersionId() {
        return appVersionId;
    }

    public AppVersion setAppVersionId(Integer appVersionId) {
        this.appVersionId = appVersionId;
        return this;
    }

    public String getVersionName() {
        return versionName;
    }

    public AppVersion setVersionName(String versionName) {
        this.versionName = versionName;
        return this;
    }

    public Integer getVersionCode() {
        return versionCode;
    }

    public AppVersion setVersionCode(Integer versionCode) {
        this.versionCode = versionCode;
        return this;
    }

    public Date getPlanUpdateTime() {
        return planUpdateTime;
    }

    public AppVersion setPlanUpdateTime(Date planUpdateTime) {
        this.planUpdateTime = planUpdateTime;
        return this;
    }

    public String getApkRelativePath() {
        return apkRelativePath;
    }

    public AppVersion setApkRelativePath(String apkRelativePath) {
        this.apkRelativePath = apkRelativePath;
        return this;
    }

    public Long getApkSize() {
        return apkSize;
    }

    public AppVersion setApkSize(Long apkSize) {
        this.apkSize = apkSize;
        return this;
    }

    public String getContent() {
        return content;
    }

    public AppVersion setContent(String content) {
        this.content = content;
        return this;
    }

    public Byte getStatus() {
        return status;
    }

    public AppVersion setStatus(Byte status) {
        this.status = status;
        return this;
    }

    public Integer getVersion() {
        return version;
    }

    public AppVersion setVersion(Integer version) {
        this.version = version;
        return this;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public AppVersion setCreateTime(Integer createTime) {
        this.createTime = createTime;
        return this;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public AppVersion setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
        return this;
    }

    public Integer getLastUpdateTime() {
        return lastUpdateTime;
    }

    public AppVersion setLastUpdateTime(Integer lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
        return this;
    }

    public Integer getLastUpdateUserId() {
        return lastUpdateUserId;
    }

    public AppVersion setLastUpdateUserId(Integer lastUpdateUserId) {
        this.lastUpdateUserId = lastUpdateUserId;
        return this;
    }

    public Integer getForceUpdate() {
        return forceUpdate;
    }

    public AppVersion setForceUpdate(Integer forceUpdate) {
        this.forceUpdate = forceUpdate;
        return this;
    }

    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", appVersionId=").append(appVersionId);
        sb.append(", versionName=").append(versionName);
        sb.append(", versionCode=").append(versionCode);
        sb.append(", planUpdateTime=").append(planUpdateTime);
        sb.append(", apkRelativePath=").append(apkRelativePath);
        sb.append(", apkSize=").append(apkSize);
        sb.append(", content=").append(content);
        sb.append(", status=").append(status);
        sb.append(", version=").append(version);
        sb.append(", createTime=").append(createTime);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", lastUpdateTime=").append(lastUpdateTime);
        sb.append(", lastUpdateUserId=").append(lastUpdateUserId);
        sb.append(", forceUpdate=").append(forceUpdate);
        sb.append("]");
        return sb.toString();
    }
}